import $api from './../server';

export const addBookOrder = async (data) => {
    let res = await $api.post('/order/add', data)
    return res.data;
}

export const getAllOrder = async (data) => {
    let res = await $api.post('/order/getAll', data)
    return res.data;
}